package com.paschino.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class SecurityNavigator {
	@RequestMapping(value = "/login")
	public ModelAndView login() {
		ModelAndView mv = new ModelAndView("login");
		return mv;
	}

	@RequestMapping(value = "/denied")
	public ModelAndView denied() {
		ModelAndView mv = new ModelAndView("denied");
		return mv;
	}

	@RequestMapping(value = "/admin/admin-home")
	public ModelAndView showAdminHome() {
		ModelAndView mv = new ModelAndView("admin-home");
		return mv;
	}
}
